<?php

namespace App\Models;

use Framework\BaseModel;
use Framework\OptimisticLockingTrait;

/**
 * App\Models\_EmptyModel
 *
 * @method static \Illuminate\Database\Eloquent\Builder|_EmptyModel newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|_EmptyModel newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|_EmptyModel query()
 * @mixin \Eloquent
 * @property int $user_id 用户id
 * @property int $mt 积分
 * @property string $at 余额
 * @property int $lock_version 乐观锁
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|UserAssetsModel whereAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|UserAssetsModel whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|UserAssetsModel whereLockVersion($value)
 * @method static \Illuminate\Database\Eloquent\Builder|UserAssetsModel whereMt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|UserAssetsModel whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|UserAssetsModel whereUserId($value)
 * @property string $lock_at 冻结余额
 * @method static \Illuminate\Database\Eloquent\Builder|UserAssetsModel whereLockAt($value)
 */
class UserAssetsModel extends BaseModel
{

    use OptimisticLockingTrait;
    protected $table = 'user_assets';
    protected $primaryKey = 'user_id';
}
